Disable live relocation for PAE and x86/64. Currently it can
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Nov 2005 12:51:20 +0000 (13:51 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Fri, 18 Nov 2005 12:51:20 +0000 (13:51 +0100)
seriously harm Xen's health. Better to just disable it in the
tools until the outstanding issues are resolved.

Signed-off-by: Keir Fraser <keir@xensource.com>
tools/libxc/xc_linux_save.c

index 50871436b44003a1f397bb7e5fc6f4d4cefe489f..54cdb2ce150e8c389aa577aa56e77e4e88b2a353 100644 (file)
@@ -729,6 +729,11 @@ int xc_linux_save(int xc_handle, int io_fd, uint32_t dom, uint32_t max_iters,
 
     /* Domain is still running at this point */
 
+    if (live && (pt_levels != 2)) {
+        ERR("Live migration supported only for 32-bit non-pae");
+        goto out;
+    }
+
     if (live) {
 
         if (xc_shadow_control(xc_handle, dom,